package com.thunder.soft.common.base;

import androidx.annotation.NonNull;
import androidx.databinding.ViewDataBinding;
import androidx.recyclerview.widget.RecyclerView;

public class BaseViewHolder<VDB extends ViewDataBinding> extends RecyclerView.ViewHolder {
    private final VDB binding;

    public BaseViewHolder(@NonNull VDB itemView) {
        super(itemView.getRoot());
        this.binding = itemView;
    }

    public VDB getBinding() {
        return binding;
    }
}
